package com.myproject.mapper;

import com.myproject.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface EmployeeMapper {

    List<Employee> queryAll();

    Employee queryById(int id);

    Boolean saveEmp(Employee employee);

    Boolean deleteEmp(int id);



}
